package com.powernobug.service;

import com.powernobug.bean.model.MarketIssue;
import com.powernobug.bean.vo.PageVo;
import com.powernobug.bean.vo.data.IssueCreateData;
import com.powernobug.bean.vo.param.IssueCreateVo;
import com.powernobug.bean.vo.param.IssueListParam;

import java.util.Map;

public interface IssueService {
    PageVo list(IssueListParam issueListParam);

    IssueCreateData create(IssueCreateVo issueCreateVo);

    void delete(MarketIssue marketIssue); // 方案一，对象

    void deleteMap(Map deleteInfoMap); // 方案二，map

    void update(MarketIssue marketIssue);
    MarketIssue updateMap(MarketIssue marketIssue);
}
